/* GENERAL STYLING FOR THE LANDING PAGE (index.html) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #fce4ec;
    margin-bottom: 10px;
}

/* Logo + brand name grouped together */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* Circle logo badge */
.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    display: flex;
}


/* business name beside the logo */
.biz-name {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.02rem;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #e91e8c;
}

/* Active "Home" link */
.nav-links a.active {
    color: #e91e8c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* "Order now" button in navbar */
.nav-links .btn-order-nav {
    background-color: #e91e8c;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.nav-links .btn-order-nav:hover {
    background-color: #ff068f;
    color: #ffffff;
}



/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 150px; /* up, right, down, left */
    flex: 1;
}

/* Left side: heading, description, button */
.hero-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    padding-right: 28px;
}

/* Heading with different fonts */
.hero-heading {
    margin-bottom: 24px;
    line-height: 1.2;
}

/* "My" and "Little" - bold sans-serif */
.hero-heading .plain {
    font-family: 'Lato', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #222222;
}

/* "Sweet" is cursive script */
.hero-heading .cursive {
    font-family: 'Dancing Script', cursive;
    font-size: 56px;
    font-weight: 700;
    color: #222222;
}

/* "CupCAKES" is large cursive, in new line */
.hero-heading .cupcakes {
    font-family: 'Dancing Script', cursive;
    font-size: 62px;
    font-weight: 700;
    color: #222222;
    display: flex;
    justify-content: center;
}

/* First heading line: "My Sweet Little" line */
.hero-heading .line1 {
    display: flex;
    align-items: baseline;
    gap: 24px;
}

/* Description paragraph */
.hero-description {
    font-size: 20px;
    line-height: 1.5;
    color: #444444;
    margin-bottom: 32px;
    max-width: 700px;
}

/* "ORDER NOW" button */
.btn-order-hero {
    display: inline-block;
    border: 2px solid #333333;
    border-radius: 30px;
    padding: 12px 64px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #333333;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-bottom: 28px;
    align-self: center;
    box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.1);
}

.btn-order-hero:hover {
    background-color: #e91e8c;
    color: #ffffff;
    border-color: #e91e8c;
}

/* thank-you message below the button */
.hero-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 26px;
    color: #444444;
    display: flex;
    justify-content: center;
}




/* HERO IMAGE */
.hero-image img {
    display: block;
    width: 380px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    object-fit: cover;
}



/* FOOTER */
.footer {
    background: linear-gradient(135deg, #fde8f0 0%, #f8b8d0 100%);
    padding: 20px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* Left side of footer: social follow + brand name */
.footer-left {
    display: flex;
    align-items: center;
    gap: 0;
}

/* "Stay updated / follow us" text block */
.footer-social-text {
    padding-right: 18px;
    border-right: 2px solid #e91e8c;
}

/* same style for the text and fb link */
.footer-social-text p, a {
    text-decoration: none;
    font-size: 14px;
    color: #333333;
    font-weight: 700;
    line-height: 1.4;
}

.footer-social-text p:last-child {
    font-weight: 400;
}

/* Brand name in footer, beside the divider */
.footer-fb-link a {
    text-decoration: none;
    padding-left: 18px;
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-fb-link a:hover {
    color: #e91e8c;
}

/* Right side of footer: legal links */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-links a {
    text-decoration: none;
    font-size: 12px;
    color: #333333;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #e91e8c;
}

/* ============================================
HAMBURGER MENU BUTTON (hidden on desktop)
============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Animated X state when menu is open */
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
TABLET VIEW — 768px
============================================ */
@media (max-width: 768px) {

    /* Navbar: keep brand + hamburger in one row */
    .navbar {
        padding: 12px 24px;
        flex-wrap: wrap;
        gap: 12px;
        position: relative;
    }

    /* Show hamburger button */
    .hamburger {
        display: flex;
    }

    /* Nav links collapse into a vertical dropdown */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #fce4ec;
        padding: 8px 0 16px 0;
    }

    /* Show nav links when menu is toggled open */
    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 24px;
        font-size: 1rem;
    }

    /* Order now button full-width on mobile menu */
    .nav-links .btn-order-nav {
        margin: 8px 24px 0 24px;
        display: block;
        text-align: center;
        border-radius: 20px;
    }

    /* Hero: stack vertically, content first then image */
    .hero {
        flex-direction: column;
        padding: 40px 32px 40px 32px;
        gap: 40px;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    /* Center the "My Sweet Little" line */
    .hero-heading .line1 {
        justify-content: center;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Image grid: shrink to fit */
    .hero-image-grid {
        width: 320px;
        height: 320px;
    }

    /* Footer: stack vertically */
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .footer-links {
        align-items: flex-start;
    }
}

/* ============================================
MOBILE VIEW — 480px
============================================ */
@media (max-width: 480px) {

    /* Smaller logo */
    .logo-circle {
        width: 60px;
        height: 60px;
    }

    .logo-circle svg {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 0.85rem;
    }

    /* Hero padding tighter */
    .hero {
        padding: 28px 20px 32px 20px;
        gap: 28px;
    }

    /* Scale down heading fonts */
    .hero-heading .plain  { font-size: 1.8rem; }
    .hero-heading .cursive { font-size: 2.1rem; }
    .hero-heading .cupcakes { font-size: 2.6rem; }

    .hero-description { font-size: 0.88rem; }

    /* Smaller image grid */
    .hero-image-grid {
        width: 260px;
        height: 260px;
    }

    /* Smaller emoji in cells */
    .placeholder-cell { font-size: 1.6rem; }

    /* Footer tighter */
    .footer { padding: 16px 20px; }
}